package com.mmall.service;

import com.mmall.common.ServerResponse;

public interface ICartService {
    ServerResponse addCart(Integer id, Integer count, Integer productId);

    ServerResponse updateCart(Integer id, Integer count, Integer productId);

    ServerResponse delectCart(Integer id, String productIds);

    ServerResponse ListCart(Integer id);

    ServerResponse updateAndcheckedALL(Integer id, Integer productId,Integer checked);

    ServerResponse updateAndchecked(Integer id, Integer productId, int checked);

    ServerResponse OneupdateAndcheckedALL(Integer id, Integer productId, int checked);

    ServerResponse OneupdateAndchecked(Integer id, Integer productId, int checked);

    ServerResponse selcetCartAndProduct(Integer id);
}
